package com.app.qbake.module.mine.di;

import com.app.qbake.module.mine.api.MyGoodsListApi;
import com.app.qbake.module.mine.api.MyGoodsListApiProxy;

import dagger.Module;
import dagger.Provides;
import retrofit2.Retrofit;

/**
 * Created by wind on 2018/9/5.
 */
@Module
public abstract class MyGoodsListModule {


    @Provides
    public static MyGoodsListApiProxy provideApiProxy(Retrofit retrofit){
        MyGoodsListApi api=retrofit.create(MyGoodsListApi.class);
        MyGoodsListApiProxy proxy=new MyGoodsListApiProxy(api);
        return proxy;
    }


}
